Controlling Rotation And Translation Of An Object